<%@ page import="control.ComputerInfo" %>
<%@ page import="com.opensymphony.xwork2.util.ValueStack" %>
<%@ page import="control.ControlVar" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
  ValueStack vs = (ValueStack)request.getAttribute("struts.valueStack");
  ComputerInfo computer = (ComputerInfo) vs.findValue("computer");
%>
<form action="setComputerUser.action" target="execute" method="post">
<input type="hidden" name="computer.cid" value="<s:property value="computer.cid"/>"/>
<input type="hidden" id="state" name="computer.state" value="0"/>  
<dl class="admin-content-control-setting">
	<dt>准考证号</dt>
  <dd><input type="text" id="mysuggest" name="computer.zkzh" class="normal" value="<%=computer.getZkzh()==null?"":computer.getZkzh()%>"/></dd>
	<dt></dt>
	<dd>
	<button type="submit" class="blue"><span></span>确定</button>
	<button type="button" class="blue" onclick="kswindow.close()"><span></span>取消</button>
	
	<button type="submit" class="blue" onClick="state.value=<%=ControlVar.COMPUTER_STATE_IDEL%>;form.submit();" style="margin-left:45px;"><span></span>空闲</button>
	<button type="submit" class="blue" onClick="state.value=<%=ControlVar.COMPUTER_STATE_MAINTAIN%>;form.submit();"><span></span>维护</button>
	</dd>
</dl>
</form>
<script>
	kaohao.BindInputEevents()
</script>